package cn.mrcode.fd.blog.services.impl;

import cn.mrcode.fd.blog.dao.mapper.SysConfigMapper;
import cn.mrcode.fd.blog.dao.mappercu.SysConfigCuMapper;
import cn.mrcode.fd.blog.entity.SysConfig;
import cn.mrcode.fd.blog.services.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统参数配置服务
 * @author : zhuqiang
 * @version : V1.0
 * @date : 2016/1/27 21:52
 */
@Service
public class SysConfigServiceImpl implements ISysConfigService {
    @Autowired
    private SysConfigMapper sysConfigMapper;
    @Autowired
    private SysConfigCuMapper sysConfigCuMapper;
    @Override
    public List<SysConfig> findAll() {
        List<SysConfig> list = sysConfigCuMapper.selectSelective(null);
        return list;
    }
}
